# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=pdgmail
pkgver=1.0
pkgrel=7
groups=('blackarch' 'blackarch-cracker')
pkgdesc='A password dictionary attack tool that targets windows authentication via the SMB protocol.'
url='http://www.jeffbryner.com/code/pdgmail'
arch=('any')
license=('GPL2')
depends=('python2')
source=("http://www.jeffbryner.com/code/$pkgname")
sha512sums=('b55867dc18bc89cb475221a74a659ffb6a08dc0b760b06aca58c6bd4228b57681f5f15859b20fa1b0f6f63f8be6ae6aa6027cea184c9d9ec6ff54a810adcf67c')

prepare() {
  sed -i 's/env python/env python2/' $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

